package com.sdk4.jinritemai.model.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdk4.jinritemai.DoudianRequest;
import com.sdk4.jinritemai.model.response.DoudianProductGetCatePropertyResponse;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DoudianProductGetCatePropertyRequest implements DoudianRequest<DoudianProductGetCatePropertyResponse> {
    private final String method = "product.getCateProperty";
    /**
     * first_cid : 1001
     * second_cid : 1001001
     * third_cid : 1001001001
     */

    @JSONField(name = "first_cid")
    private String firstCid;
    @JSONField(name = "second_cid")
    private String secondCid;
    @JSONField(name = "third_cid")
    private String thirdCid;
    @JSONField(name = "category_leaf_id")
    private String categoryLeafId;

    @Override
    public String getMethod() {
        return method;
    }

    @Override
    public Class<DoudianProductGetCatePropertyResponse> getResponseClass() {
        return DoudianProductGetCatePropertyResponse.class;
    }

    public String getFirstCid() {
        return firstCid;
    }

    public void setFirstCid(String firstCid) {
        this.firstCid = firstCid;
    }

    public String getSecondCid() {
        return secondCid;
    }

    public void setSecondCid(String secondCid) {
        this.secondCid = secondCid;
    }

    public String getThirdCid() {
        return thirdCid;
    }

    public void setThirdCid(String thirdCid) {
        this.thirdCid = thirdCid;
    }

    public String getCategoryLeafId() {
        return categoryLeafId;
    }

    public void setCategoryLeafId(String categoryLeafId) {
        this.categoryLeafId = categoryLeafId;
    }
}
